<?php

echo $form->create('Improvements');
echo $form->hidden("Improvement.poll_id");
echo $form->input("Improvement.tipo", array('options' => array(
        'DESMONTES' => 'DESMONTES',
        'NIVELACION' => 'NIVELACION',
        'DRENAJES' => 'DRENAJES',
        'RIEGO' => 'RIEGO',
        'OTROS' => 'OTROS'
        )));
echo $form->input("Improvement.cantidad", array('label' => 'Medida'));
echo $form->input("Improvement.factibilidad_tecnica");
echo $form->input("Improvement.factibilidad_economica");
echo $form->input("Improvement.otro", array('label' => 'Otro'));
echo $form->input("Improvement.observacion", array('label' => 'Observación'));
echo $ajax->submit('Guardar', array('url' => array('controller' => 'Improvements', 'action' => 'add', $this->data['Improvement']['poll_id']), 'update' => 'improvements', 'indicator' => 'loading'));
echo $form->end();
?>